package cc.vicp.djx314.starfood.util;

import java.util.List;

import cc.vicp.djx314.starfood.domain.dish.ProvideTime;
import cc.vicp.djx314.starfood.domain.dish.SeriesDishProvideTime;

/**
 * 对model类进行一些操作
 * @author 水山清风
 *
 */
public interface ModelTreatment {
	/**
	 * 把相同提供时间的星期数合并
	 * @param provideTimes 提供时间信息的list，按开始时间，结束时间，星期几顺序排列
	 * @return
	 * @throws Throwable
	 */
	public List<SeriesDishProvideTime> setSeriesDishProvideTimes(final List<ProvideTime> provideTimes)
			throws Throwable;
}
